package cn.cjy.model;

import java.util.Date;

public class Article {

	private Integer id;
	private String title;
	private String content;
	private String catalogs;
	private String cover;
	private String userinfo;
	private Date posttime;
	private String review;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCatalogs() {
		return catalogs;
	}
	public void setCatalogs(String catalogs) {
		this.catalogs = catalogs;
	}
	public String getCover() {
		return cover;
	}
	public void setCover(String cover) {
		this.cover = cover;
	}
	public String getUserinfo() {
		return userinfo;
	}
	public void setUserinfo(String userinfo) {
		this.userinfo = userinfo;
	}
	public Date getPosttime() {
		return posttime;
	}
	public void setPosttime(Date posttime) {
		this.posttime = posttime;
	}
	public String getReview() {
		return review;
	}
	public void setReview(String review) {
		this.review = review;
	}
	public Article() {
		super();
	}
	
	public Article(String title, String content, String catalogs, String cover, String userinfo, Date posttime,
			String review) {
		super();
		this.title = title;
		this.content = content;
		this.catalogs = catalogs;
		this.cover = cover;
		this.userinfo = userinfo;
		this.posttime = posttime;
		this.review = review;
	}
	public Article(Integer id, String title, String content, String catalogs, String cover, String userinfo,
			Date posttime, String review) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.catalogs = catalogs;
		this.cover = cover;
		this.userinfo = userinfo;
		this.posttime = posttime;
		this.review = review;
	}
	@Override
	public String toString() {
		return "Article [id=" + id + ", title=" + title + ", content=" + content + ", catalogs=" + catalogs + ", cover="
				+ cover + ", userinfo=" + userinfo + ", posttime=" + posttime + ", review=" + review + "]";
	}
	
	
	
}